[NET] front: Remove duplicate maybe_wake_tx
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 May 2006 14:58:46 +0000 (15:58 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 19 May 2006 14:58:46 +0000 (15:58 +0100)
Since network_tx_buf_gc unconditionally calls network_maybe_wake_tx at
the end, there is no need to call it again right after a call to
network_tx_buf_gc.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c

index a85684d40226bcd25c6b734287883e7bd4af76c9..431841523d446ac79ee43f479a691c9ba51617f2 100644 (file)
@@ -1045,8 +1045,6 @@ static void network_connect(struct net_device *dev)
        notify_remote_via_irq(np->irq);
        network_tx_buf_gc(dev);
 
-       network_maybe_wake_tx(dev);
-
        spin_unlock(&np->rx_lock);
        spin_unlock_irq(&np->tx_lock);
 }